#0 [0]HttpException in Url.php line 62

控制器不存在:

  1. $path = $this->rule->parseUrlPath($url);
  2. if (empty($path)) {
  3. return [null, null];
  4. }
  5. // 解析控制器
  6. $controller = !empty($path) ? array_shift($path) : null;
  7. if ($controller && !preg_match('/^[A-Za-z0-9][\w|\.]*$/', $controller)) {
  8. throw new HttpException(404, 'controller not exists:' . $controller);
  9. }
  10. // 解析操作
  11. $action = !empty($path) ? array_shift($path) : null;
  12. $var = [];
  13. // 解析额外参数
  14. if ($path) {
  15. preg_replace_callback('/(\w+)\|([^\|]+)/', function ($match) use (&$var) {

Call Stack

  1. in Url.php line 62
  2. at Url->parseUrl(' |public|index|infor...') in Url.php line 31
  3. at Url->__construct(object(Request), object(Domain), ' |public|index|infor...') in Route.php line 812
  4. at Route->url(' |public|index|infor...') in Route.php line 777
  5. at Route->check() in Route.php line 737
  6. at Route->dispatch(object(Request), object(Closure)) in Http.php line 213
  7. at Http->dispatchToRoute(object(Request)) in Http.php line 203
  8. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  9. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 65
  10. at MultiApp->handle(object(Request), object(Closure))
  11. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  12. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  13. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  14. at SessionInit->handle(object(Request), object(Closure))
  15. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  16. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  17. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  18. at Pipeline->then(object(Closure)) in Http.php line 204
  19. at Http->runWithRequest(object(Request)) in Http.php line 162
  20. at Http->run() in index.php line 25

Environment Variables

GET Data
id 16
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID Z0Jg4uHeQ3n886OzkDQkegAAAAg
REDIRECT_REDIRECT_REDIRECT_PHPRC /home/gdyueshifgrdjy6uceasphzi/others
REDIRECT_REDIRECT_REDIRECT_STATUS 200
REDIRECT_REDIRECT_UNIQUE_ID Z0Jg4uHeQ3n886OzkDQkegAAAAg
REDIRECT_REDIRECT_PATH_INFO /public/index/information/info.html
REDIRECT_REDIRECT_PHPRC /home/gdyueshifgrdjy6uceasphzi/others
REDIRECT_REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID Z0Jg4uHeQ3n886OzkDQkegAAAAg
REDIRECT_PHPRC /home/gdyueshifgrdjy6uceasphzi/others
REDIRECT_HANDLER php-cgi
REDIRECT_STATUS 200
UNIQUE_ID Z0Jg4uHeQ3n886OzkDQkegAAAAg
PHPRC /home/gdyueshifgrdjy6uceasphzi/others
HTTP_X_FORWARDED_FOR 196.63.152.66
HTTP_X_REAL_IP 196.63.152.66
HTTP_REALIP_WTS_X 196.63.152.66
HTTP_HOST 1jamat.com
HTTP_CONNECTION close
HTTP_REFERER https://www.baidu.com/search/spider.htm
HTTP_X_APPLE_TZ 0
HTTP_X_APPLE_STORE_FRONT 143444,12
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_CACHE_CONTROL no-cache
CONTENT_TYPE application/x-www-form-urlencoded; charset=utf-8
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.2) Gecko/2008070208 Firefox/3.0.1
HTTP_X_MICROSOFTAJAX Delta=true
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE <address>Apache Server at 1jamat.com Port 80</address>
SERVER_SOFTWARE Apache
SERVER_NAME 1jamat.com
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 196.63.152.66
DOCUMENT_ROOT /home/gdyueshifgrdjy6uceasphzi/wwwroot
REQUEST_SCHEME http
CONTEXT_PREFIX /php-run-as-cgi
CONTEXT_DOCUMENT_ROOT /usr/php7.2/bin
SERVER_ADMIN webmaster@gdyueshi
SCRIPT_FILENAME /home/gdyueshifgrdjy6uceasphzi/wwwroot/public/index.php
REMOTE_PORT 33586
REDIRECT_URL /public/index.php/ /public/index/information/info.html
REDIRECT_QUERY_STRING id=16+
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING id=16+
REQUEST_URI /%20/public/index/information/info.html?id=16+
SCRIPT_NAME /public/index.php
PATH_INFO / /public/index/information/info.html
PATH_TRANSLATED /home/gdyueshifgrdjy6uceasphzi/wwwroot/ /public/index/information/info.html
ORIG_PATH_INFO /public/index.php/ /public/index/information/info.html
ORIG_SCRIPT_NAME /php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME /usr/php7.2/bin/php-cgi
ORIG_PATH_TRANSLATED /home/gdyueshifgrdjy6uceasphzi/wwwroot/public/index.php/ /public/index/information/info.html
PHP_SELF /public/index.php/ /public/index/information/info.html
REQUEST_TIME_FLOAT 1732403426.9315
REQUEST_TIME 1732403426
Environment Variables
APP_DEBUG 1
APP_DEFAULT_TIMEZONE Asia/Shanghai
DATABASE_TYPE mysql
DATABASE_HOSTNAME 127.0.0.1
DATABASE_DATABASE gdyueshi
DATABASE_USERNAME gdyueshi
DATABASE_PASSWORD AvSlskIIFwqc374351ad
DATABASE_HOSTPORT 3306
DATABASE_CHARSET utf8
DATABASE_DEBUG 1
DATABASE_PREFIX tp_
LANG_DEFAULT_LANG zh-cn
ThinkPHP Constantsempty